/*******************************************************************************
 * Copyright (c) 2007 Benjamin Muskalla and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Benjamin Muskalla - initial API and implementation
 *******************************************************************************/
package de.bmuskalla.brainfuck.ui.editor.editors;

import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.WordPatternRule;

public class BFCommandWordPatternRule extends WordPatternRule {

	/**
	 * @param detector
	 * @param startSequence
	 * @param endSequence
	 * @param token
	 * @param command
	 */
	public BFCommandWordPatternRule(String command, IToken token) {
		super(new BFCommandDetector(command.toCharArray()[0]), command,
				command, token);
	}

}
